package com.acane.instagram.service;

import com.acane.instagram.pojo.Result;
import com.acane.instagram.pojo.dto.LikeDTO;
import com.baomidou.mybatisplus.extension.service.IService;

public interface LikeService extends IService<LikeDTO> {
    Result getLikeHistory(String userId);

    boolean judgeIfAlreadyLike(String postId, String likerId);

    int updateTime(String id);

    LikeDTO getByPostIdAndLikerId(String postId, String likerId);

    int countByPostId(String postId);
}
